package com.dfrz.ch04;

/**
 * 作者：wangmaokang
 * 日期: 2021/4/10 11:14
 * 描述: While
 * continue  结束当前循环 进入到下一次循环
 */
public class WhileTest {
    public static void main(String[] args) {
        int i=1;
        while (i<=100){

            if (i==10){
                System.out.println("执行了continue");
                continue;
            }
            System.out.println("第"+i+" 打印 Hello World");
            i++;
        }

    }
}
